﻿<%@ Page Theme="Office2003Blue" Title="" Language="C#" MasterPageFile="MIOS.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default2" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width:690px;">
        <tr>
            <td style="color: #CC0000; font-family: 楷体_GB2312;width: 610px;background-color: #DDDDDD;" >
            <asp:Image ID="Image1" runat="server" ImageUrl="~/推荐.png" Width="20px" />推荐商品
             
                </td>
            <td style="color: #CC0000; font-family: 楷体_GB2312;width:auto;background-color:#DDDDDD;" >
                <asp:LinkButton ID="LinkButton5" runat="server" Font-Underline="False" 
                    ForeColor="Maroon" Font-Bold="True" onclick="LinkButton5_Click">更多...</asp:LinkButton>
            </td>
        </tr>
        <tr>
            <td style="color: #CC0000; font-family: 楷体_GB2312;width:auto;height:250px;" 
                colspan="2" >&nbsp;
                <asp:DataList ID="dlRecommentGood" runat="server" RepeatColumns="3" 
                    RepeatDirection="Horizontal" >
                    <ItemTemplate>
                        <a href='GoodDetail.aspx?instruID=<%#DataBinder.Eval(Container.DataItem,"InstruID") %>'><asp:Image ID="Image6" runat="server" Height="120px" /></a>
                        <table style="width:100%;">
                            <tr>
                                <td style=" width:89px;">
                                    乐器名称：</td>
                                <td>
                                    <%#DataBinder.Eval(Container.DataItem,"name") %>
                                </td>
                            </tr>
                            <tr>
                                <td style=" width:89px;">
                                    销售价格：</td>
                                <td>
                                    <%#DataBinder.Eval(Container.DataItem,"sellPrice") %>
                                    元</td>
                            </tr>
                            <tr>
                                <td style=" width:89px;">
                                    &nbsp;</td>
                                <td>
                                    <asp:Button ID="btnBuy" runat="server" Text="加入购物车" 
                                        CommandArgument='<%#DataBinder.Eval(Container.DataItem,"instruID") %>' 
                                        CommandName="Buy" onclick="btnBuy_Click"/>
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:DataList>
            </td>
        </tr>
        <tr>
            <td style="font-family: 楷体_GB2312; color: #CC0000;width: 610px;background-color: #DDDDDD;">
            <asp:Image ID="Image4" runat="server" ImageUrl="~/最新.png" Width="20px" />最新商品
            </td>
            <td style="font-family: 楷体_GB2312; color: #CC0000;width:auto;background-color:#DDDDDD;">
                <asp:LinkButton ID="LinkButton4" runat="server" ForeColor="Maroon" 
                    Font-Bold="True" Font-Underline="False" onclick="LinkButton4_Click">更多...</asp:LinkButton>
            </td>
        </tr>
        <tr>
            <td style="color: #CC0000; font-family: 楷体_GB2312;width:auto;height:250px;" 
                colspan="2" >&nbsp;
                <asp:DataList ID="dlNewestGood" runat="server" RepeatColumns="3" 
                    RepeatDirection="Horizontal" >
                    <ItemTemplate>
                        <a href='GoodDetail.aspx?instruID=<%#DataBinder.Eval(Container.DataItem,"InstruID") %>'><asp:Image ID="Image6" runat="server" Height="120px" /></a>
                        <table style="width:100%;">
                            <tr>
                                <td style=" width:89px;">
                                    乐器名称：</td>
                                <td>
                                    <%#DataBinder.Eval(Container.DataItem,"name") %>
                                </td>
                            </tr>
                            <tr>
                                <td style=" width:89px;">
                                    销售价格：</td>
                                <td>
                                    <%#DataBinder.Eval(Container.DataItem,"sellPrice") %>
                                    元</td>
                            </tr>
                            <tr>
                                <td style=" width:89px;">
                                    &nbsp;</td>
                                <td>
                                    <asp:Button ID="btnBuy" runat="server" Text="加入购物车" 
                                        CommandArgument='<%#DataBinder.Eval(Container.DataItem,"instruID") %>' 
                                        CommandName="Buy" onclick="btnBuy_Click"/>
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:DataList>
            </td>
        </tr>
        <tr>
            <td style="font-family: 楷体_GB2312; color: #CC0000;width: 610px;background-color: #DDDDDD;">
            <asp:Image ID="Image3" runat="server" ImageUrl="~/热门.png" Width="20px" />热门商品
            </td>
            <td style="font-family: 楷体_GB2312; color: #CC0000;width:auto;background-color:#DDDDDD;">
                <asp:LinkButton ID="LinkButton6" runat="server" ForeColor="Maroon" 
                    Font-Bold="True" Font-Underline="False" onclick="LinkButton6_Click">更多...</asp:LinkButton>
            </td>
        </tr>
        <tr>
           <td style="color: #CC0000; font-family: 楷体_GB2312;width:auto;height:250px;" 
                colspan="2" >&nbsp;
                <asp:DataList ID="dlHotGood" runat="server" RepeatColumns="3" 
                    RepeatDirection="Horizontal" >
                    <ItemTemplate>
                        <a href='GoodDetail.aspx?instruID=<%#DataBinder.Eval(Container.DataItem,"InstruID") %>'><asp:Image ID="Image6" runat="server" Height="120px" /></a>
                        <table style="width:100%;">
                            <tr>
                                <td style=" width:89px;">
                                    乐器名称：</td>
                                <td>
                                    <%#DataBinder.Eval(Container.DataItem,"name") %>
                                </td>
                            </tr>
                            <tr>
                                <td style=" width:89px;">
                                    销售价格：</td>
                                <td>
                                    <%#DataBinder.Eval(Container.DataItem,"sellPrice") %>
                                    元</td>
                            </tr>
                            <tr>
                                <td style=" width:89px;">
                                    &nbsp;</td>
                                <td>
                                    <asp:Button ID="btnBuy" runat="server" Text="加入购物车" 
                                        CommandArgument='<%#DataBinder.Eval(Container.DataItem,"instruID") %>' 
                                        CommandName="Buy" onclick="btnBuy_Click"/>
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:DataList>
            </td>
        </tr>
    </table>    
</asp:Content>

